24hr ticker
GET/bot-gateway-service/api/v3/ticker/24hr
Fetches the 24-hour rolling window price change statistics.
- If one symbol is sent, tickers for that symbol will be returned in an object.
- If multiple symbols are sent, tickers for the symbols will be returned in an array.
- If the symbol is not sent, the tickers for all symbols will be returned in an array.
Request
Query Parameters
- If the symbol is not sent, the tickers for all symbols will be returned in an array.
Trading symbol , e.g. XCBUSDT. (optional).
Trading symbols (optional)
Responses
- 200
- 401
Success
- application/json
- Schema
- Example (from schema)
- Example
Schema
Array [
]
Symbol of the trading pair (e.g., BTCUSDC).
The price change.
The price change percentage.
The weighted average price.
The previous day's close price.
The last price.
The last quantity.
The highest bid price.
The quantity of the highest bid.
The lowest ask price.
The quantity of the lowest ask.
The opening price.
The highest price in the past 24 hours.
The lowest price in the past 24 hours.
The trading volume.
The quote volume.
The opening time of the 24-hour period.
The closing time of the 24-hour period.
The first trade ID in the 24-hour period.
The last trade ID in the 24-hour period.
The number of trades in the 24-hour period.
[
{
"symbol": "BTCUSDC",
"priceChange": "10.00",
"priceChangePercent": "5.25%",
"weightedAvgPrice": "50000.0",
"prevClosePrice": "49000.0",
"lastPrice": "49500.0",
"lastQty": "50.0",
"bidPrice": "49500.0",
"bidQty": "20.0",
"askPrice": "49502.0",
"askQty": "15.0",
"openPrice": "49000.0",
"highPrice": "50000.0",
"lowPrice": "48000.0",
"volume": "1000.0",
"quoteVolume": "50000000.0",
"openTime": 1643678921,
"closeTime": 1643678922,
"firstId": 123456,
"lastId": 123457,
"count": 100
}
]
[
{
"symbol": "XCBCTN",
"priceChange": null,
"priceChangePercent": null,
"weightedAvgPrice": null,
"prevClosePrice": null,
"lastPrice": "0.90000000",
"lastQty": null,
"bidPrice": null,
"bidQty": null,
"askPrice": null,
"askQty": null,
"openPrice": null,
"highPrice": "0.90000000",
"lowPrice": "0.90000000",
"volume": "0.09000000",
"quoteVolume": "0.0810000000000000",
"openTime": 0,
"closeTime": 0,
"firstId": 0,
"lastId": 0,
"count": 0
},
{
"symbol": "BTCETH",
"priceChange": null,
"priceChangePercent": null,
"weightedAvgPrice": null,
"prevClosePrice": null,
"lastPrice": "9.10000000",
"lastQty": null,
"bidPrice": null,
"bidQty": null,
"askPrice": null,
"askQty": null,
"openPrice": null,
"highPrice": "9.10000000",
"lowPrice": "9.10000000",
"volume": "0.80130238",
"quoteVolume": "7.2918516580000000",
"openTime": 0,
"closeTime": 0,
"firstId": 0,
"lastId": 0,
"count": 0
}
]
Unauthorized